package com.igeek.javase.ch04.employee;

/*
 *@author wangpeng
 *2023/7/13 10:37
 *@description TODO
 */

public class Employee {
    private String name;
    private String address;
    private double basicSalary;

    public Employee(String name, String address, double basicSalary) {
        this.name = name;
        this.address = address;
        this.basicSalary = basicSalary;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public double getBasicSalary() {
        return basicSalary;
    }

    public void setBasicSalary(double basicSalary) {
        this.basicSalary = basicSalary;
    }

    public void show() {
        System.out.println("Name: " + name);
        System.out.println("Address: " + address);
        System.out.println("Basic Salary: " + basicSalary);
    }
}
